#include "graduade.h"

int main(){
    std::string name, major;
    int age, sex, id;
    int year, month, day;
    Human grender;

    std::cout << "Name: ";
    std::cin >> name;
    std::cout << "Age: ";
    std::cin >> age;
    std::cout << "Id: ";
    std::cin >> id;
    std::cout << "Year: ";
    std::cin >> year;
    std::cout << "Month: ";
    std::cin >> month;
    std::cout << "Day: ";
    std::cin >> day;
    std::cout << "Grender : ";
    std::cin >> sex;
    std::cout << "Major : ";
    std::cin >> major;
    if(sex == 0){
        grender = Human::MAN;
    } else if(sex == 1){
        grender = Human::FEMAL;
    }

    Graduade gr(name, grender, age, id, major);
    gr.SetAdmi(year, month, day);
    std::cout << "\n\n";
    gr.Show();

    return 0;
}
